package com.ly.spring.biz;

import com.ly.spring.mapper.UserMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/11/2
 * Email haijunzhou@hnit.edu.cn
 */
@Data
@Service
public class UserBiz {
    @Autowired
    // 限定词注解 => 指定注入bean的id
    @Qualifier("myUserMapper")
    UserMapper userMapper;
}
